package com.iraeta.entity.vo;

import com.iraeta.entity.TreeNode;
import com.iraeta.entity.PermissionType;
import java.util.ArrayList;

public class SysPermission {
    public static ArrayList<TreeNode> getPermissionTreeNode(){
        TreeNode caizhiAdmin_Node = new TreeNode(String.valueOf(PermissionType.caizhiAdmin), "材质列表");
        TreeNode caizhiAdminGl_Node = new TreeNode(String.valueOf(PermissionType.caizhiAdminGl), "材质维护");
        TreeNode gongyiAdmin_Node = new TreeNode(String.valueOf(PermissionType.gongyiAdmin), "工艺维护");
        TreeNode caizhiGongYi_Node = new TreeNode(String.valueOf(PermissionType.caizhiGongYi), "材质工艺关联");
        TreeNode duanzao_Node = new TreeNode(String.valueOf(PermissionType.duanzao), "钢类锻造基础费");
        TreeNode xishu_Node = new TreeNode(String.valueOf(PermissionType.xishu), "加工费系数");
        TreeNode baojiaCalc_Node = new TreeNode(String.valueOf(PermissionType.baojiaCalc), "报价计算");
        ArrayList<TreeNode> res = new ArrayList<TreeNode>();
        res.add(caizhiAdmin_Node);
        res.add(caizhiAdminGl_Node);
        res.add(gongyiAdmin_Node);
        res.add(caizhiGongYi_Node);
        res.add(duanzao_Node);
        res.add(xishu_Node);
        res.add(baojiaCalc_Node);
        return res;
    }
}
